﻿<%@ Page Title="Registro Habitación" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="wfrmHabitacion.aspx.cs" Inherits="EvolSoftWeb.wfrmHabitacion" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxClasses" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="server">
 <style type="text/css">
        #principal
        {
            width: 900px;
            margin: 0 auto;
        }
        .tabs
        {
            width: 90%;
            margin: 0 auto;
        }
        .fieldset_datos
        {
            width: 100%;
        }
        .campos_vacios
        {
            width: 7em;
        }
        .labels
        {
            width: 125px;
        }
        .tabs fieldset
        {
            margin-top: 1.5em;
        }
        .tabs fieldset #fieldset_content
        {
            padding-left: 7em;
        }
        .tabs fieldset #fieldset_content1
        {
            padding-left: 7em;
        }
        .tabs fieldset .fieldset_filas
        {
            padding: .5em 0;
        }
        .filas
        {
            padding: .5em 3em;
        }
        .tabs .titulo
        {
            width: 100%;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 1em;
            margin-top: .5em;
        }
        .pad
        {
            padding: 0.2cm 1cm 0.2cm 1cm;
            text-align: left;
        }
        
        .p
        {
            padding: 0.2cm 0.6cm 0.2cm 0.6cm;
            text-align: left;
        }
        .pad
        {
            padding: 0.2cm 0.6cm 0.2cm 0.6cm;
         font-weight: 700;
     }
     
       .ped
        {
            padding: 0.2cm 0.2cm 0.2cm 0.2cm;
         font-weight: 700;
     }
        </style>
<div class="main-header" style="width: 100%">
        <div class="main-titulo">
            Registro Factura</div>
    </div>
    <div class="content-form">
    <fieldset>
    
    <table>
    
    
    <tr>
    <td class="pad">
        <dx:ASPxButton ID="ASPxButton2" runat="server" Text="Registrar" Width="100px">
        </dx:ASPxButton>
    </td>
    <td class="pad">
        <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Limpiar"  Width="100px">
        </dx:ASPxButton>
    </td>
    <td class="pad">
        <dx:ASPxButton ID="ASPxButton3" runat="server" Text="Salir" Width="100px">
        </dx:ASPxButton>
    </td>
    </tr></table>
    </fieldset>
<table>
    <tr>
    <td class="pad">
        Id Reservas:</td>
   <td class="pad">
   
       <dx:ASPxTextBox ID="txtidhabitacion" runat="server" Width="170px">
       </dx:ASPxTextBox>
   
   </td>
   <td class="pad">
   
        <dx:ASPxButton ID="btnBuscarReservas" runat="server" Text="Buscar"  
           Width="100px" onclick="btnBuscarReservas_Click">
        </dx:ASPxButton>
   
   </td>
    </tr>
    <tr>
    <td class="pad">
        &nbsp;</td>
   <td class="pad">
   
       &nbsp;</td>
   <td class="pad">
   
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Id Tipo Hab<br />
        itación:</td>
   <td class="pad">
       <dx:ASPxComboBox ID="cboTipoHabitacion" runat="server">
       </dx:ASPxComboBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        ID Categoria</td>
   <td class="pad">
       <dx:ASPxComboBox ID="cboidcategoria" runat="server">
       </dx:ASPxComboBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Numero:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtnumero" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Monto Bruto:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtmontobruto" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        IGV:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtigv" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Piso:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtpiso" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Precio Base:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtpreciobase" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td class="pad">
        Estado:</td>
   <td class="pad">
       <dx:ASPxTextBox ID="txtestado" runat="server" Width="170px">
       </dx:ASPxTextBox>
           </td>
   <td class="pad">
       &nbsp;</td>
    </tr>
       <tr>
    <td>
        &nbsp;</td>
 
    </tr>
    </table>

    <table>
    
    <tr>
      <td>
      <fieldset>
      <legend>Detalle de Servicios de Reservas -Servicios</legend>
      <dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" 
              Width="80%">
           <Columns>
               <dx:GridViewDataTextColumn FieldName="idHabitacion" VisibleIndex="0" 
                   Caption="Cod Habitación">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="idtipohabitacion" VisibleIndex="1" 
                   Caption="Tipo Habitación">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="idCategoria" VisibleIndex="2" 
                   Caption="Cod Categoria">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="numero" VisibleIndex="3" Caption="Número">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="piso" VisibleIndex="4" Caption="Piso">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="estado" VisibleIndex="5" Caption="Estado">
               </dx:GridViewDataTextColumn>
               <dx:GridViewDataTextColumn FieldName="preciobase" VisibleIndex="6" 
                   Caption="Precio">
               </dx:GridViewDataTextColumn>
             
           </Columns>
       </dx:ASPxGridView>
      </fieldset>
       
           </td>
    </tr></table>

        <br />
        <br />
        <dx:aspxpopupcontrol id="popupOK" runat="server" width="300px" allowdragging="True"
            clientinstancename="popupOK" closeaction="CloseButton" enablehottrack="False"
            headertext="Mensaje" popuphorizontalalign="WindowCenter" popupverticalalign="WindowCenter"
            showpagescrollbarwhenmodal="True">
            <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
<table align="center">
<tr>
<td></td>
<td>
    <dx:ASPxLabel ID="lblmsgOK" runat="server">
    </dx:ASPxLabel>
    </td>
<td></td>
</tr>
    <tr>
        <td colspan="3">
            &nbsp;</td>
    </tr>
    <tr>
        <td colspan="3">
            <dx:ASPxButton ID="btnAceptarOK" runat="server" Text="Aceptar" 
                AutoPostBack="False">
                <clientsideevents click="function(s, e) {
	popupOK.Hide();
}" />
            </dx:ASPxButton>
        </td>
    </tr>
</table>
</dx:PopupControlContentControl>
</ContentCollection>
        </dx:aspxpopupcontrol>
        <dx:aspxpopupcontrol id="popupConfirmacion" runat="server" width="300px" allowdragging="True"
            clientinstancename="popupConfirmacion" closeaction="CloseButton" enablehottrack="False"
            headertext="Confirmar" popuphorizontalalign="WindowCenter" popupverticalalign="WindowCenter"
            showpagescrollbarwhenmodal="True">
            <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
<table align="center" width="100%">
<tr>
<td align="center" colspan="2">
    <dx:ASPxLabel ID="lblmsgConfirmar" runat="server">
    </dx:ASPxLabel>
    </td>
</tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <dx:ASPxButton ID="btnConfirmar" runat="server" Text="Aceptar">
                <clientsideevents click="function(s, e) {
	popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
	popupConfirmacion.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
          <td>
            <dx:ASPxButton ID="btnCancelar" runat="server" Text="Cancelar">
                <clientsideevents click="function(s, e) {
		popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
		popupConfirmacion.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
    </tr>
</table>
</dx:PopupControlContentControl>
</ContentCollection>
        </dx:aspxpopupcontrol>
        <dx:aspxpopupcontrol id="popupConfirmarCateg" runat="server" width="300px" allowdragging="True"
            clientinstancename="popupConfirmarCateg" closeaction="CloseButton" enablehottrack="False"
            headertext="Confirmar" popuphorizontalalign="WindowCenter" popupverticalalign="WindowCenter"
            showpagescrollbarwhenmodal="True">
            <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
<table align="center" width="100%">
<tr>
<td align="center" colspan="2">
    <dx:ASPxLabel ID="lblmsgConfCateg" runat="server">
    </dx:ASPxLabel>
    </td>
</tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <dx:ASPxButton ID="btnConfirmarCat" runat="server" Text="Aceptar">
                <clientsideevents click="function(s, e) {
	popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
popupConfirmarCateg.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
          <td>
            <dx:ASPxButton ID="btnCancelar0" runat="server" Text="Cancelar">
                <clientsideevents click="function(s, e) {
		popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
	popupConfirmarCateg.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
    </tr>
</table>
</dx:PopupControlContentControl>
</ContentCollection>
        </dx:aspxpopupcontrol>
        <dx:aspxpopupcontrol id="popupConfirmarHabit" runat="server" width="300px" allowdragging="True"
            clientinstancename="popupConfirmarHabit" closeaction="CloseButton" enablehottrack="False"
            headertext="Confirmar" popuphorizontalalign="WindowCenter" popupverticalalign="WindowCenter"
            showpagescrollbarwhenmodal="True">
            <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
<table align="center" width="100%">
<tr>
<td align="center" colspan="2">
    <dx:ASPxLabel ID="lblmsgConfirmarHabit" runat="server">
    </dx:ASPxLabel>
    </td>
</tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <dx:ASPxButton ID="btnConfirmarHabit" runat="server" Text="Aceptar">
                <clientsideevents click="function(s, e) {
	popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
popupConfirmarHabit.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
          <td>
            <dx:ASPxButton ID="btnCancelar1" runat="server" Text="Cancelar">
                <clientsideevents click="function(s, e) {
		popupConfirmacion.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
		popupConfirmacion.Hide();
}"></ClientSideEvents>
            </dx:ASPxButton>
        </td>
    </tr>
</table>
</dx:PopupControlContentControl>
</ContentCollection>
        </dx:aspxpopupcontrol>

    </div>
</asp:Content>
